package com.hbx.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统公告表
 * </p>
 *
 * @author hbx
 * @since 2022-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Announcement对象", description="系统公告表")
public class Announcement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公告id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公告标题")
    private String annoTitle;

    @ApiModelProperty(value = "公告内容")
    private String annoContent;

    @ApiModelProperty(value = "发布者id")
    private Integer annoAdminId;

    @ApiModelProperty(value = "发布时间")
    private Date annoPublishTime;

    @ApiModelProperty(value = "是否全局展示,1、是，0、不是")
    private Integer annoIsCommond;


}
